#ifndef HAL_ERROR_H
#define HAL_ERROR_H

#define HAL_DEVICE_BASE     0X400

//#define HAL_SUCCESS              HAL_DEVICE_BASE
//#define HAL_ERR_PARAM_FAILED    HAL_DEVICE_BASE+1

enum hal_device_error {
    HAL_SUCCESS = HAL_DEVICE_BASE,
    HAL_ERROR_NULL,
    HAL_ERROR_PARAM_FAILED,
    HAL_ERROR_NO_MEM,

};



#endif // HAL_ERROR_H
